package com.sms.service;

import com.sms.pojo.Employee;
import org.springframework.stereotype.Service;

import java.util.List;

public interface EmployeeService {

    //查询全部员工信息
    List<Employee> getAll();

    //增加一个员工
    int save(Employee employee);

    //通过id查询员工
    Employee getEmployeeById(Integer id);

    //删除员工通过id
    int deleteById(Integer id);

    //修改员工信息
    int update(Employee employee);
}
